package org.bluewhale.hibernate.dao;



/**
 * AbstractSkShukuRecommandId entity provides the base persistence definition of the SkShukuRecommandId entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractSkShukuRecommandId  implements java.io.Serializable {


    // Fields    

     private SkUser skUser;
     private String bookIdList;


    // Constructors

    /** default constructor */
    public AbstractSkShukuRecommandId() {
    }

    
    /** full constructor */
    public AbstractSkShukuRecommandId(SkUser skUser, String bookIdList) {
        this.skUser = skUser;
        this.bookIdList = bookIdList;
    }

   
    // Property accessors

    public SkUser getSkUser() {
        return this.skUser;
    }
    
    public void setSkUser(SkUser skUser) {
        this.skUser = skUser;
    }

    public String getBookIdList() {
        return this.bookIdList;
    }
    
    public void setBookIdList(String bookIdList) {
        this.bookIdList = bookIdList;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof AbstractSkShukuRecommandId) ) return false;
		 AbstractSkShukuRecommandId castOther = ( AbstractSkShukuRecommandId ) other; 
         
		 return ( (this.getSkUser()==castOther.getSkUser()) || ( this.getSkUser()!=null && castOther.getSkUser()!=null && this.getSkUser().equals(castOther.getSkUser()) ) )
 && ( (this.getBookIdList()==castOther.getBookIdList()) || ( this.getBookIdList()!=null && castOther.getBookIdList()!=null && this.getBookIdList().equals(castOther.getBookIdList()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getSkUser() == null ? 0 : this.getSkUser().hashCode() );
         result = 37 * result + ( getBookIdList() == null ? 0 : this.getBookIdList().hashCode() );
         return result;
   }   





}